package com.code.day07.Streamsdy;

import java.util.stream.Stream;

public class DemoStream5 {
    public static void main(String[] args) {
        Stream<Integer> stream = Stream.of(1, 2, 3, 4, 5);
        stream.map(intger -> intger.toString()).forEach(s -> System.out.println(s + 1));
    }
}
